﻿/*****************************************介绍*****************************************
 * 作者：24531
 * 创建时间：2025-09-04 23:24:13
 * 功能：界面【HintPanle】的View
        1、负责收集所有控件
**************************************************************************************/


namespace Game.UI.HintPanle
{
    public class HintPanleView : ItemPanelView
    {
        public const string PANEL_KEY = "Game_UI_HintPanle_HintPanle_Key";

        protected override ETriggerAdType GetAdTriggerType() => ETriggerAdType.Hint;

        protected override string GetPanelKey() => PANEL_KEY;

        protected override void DistributeAdRewards()
        {
            GameDataMgr.Instance.HintRemainCount = GameDataMgr.Instance.HintRemainCount + 1;
        }

        protected override int GetNeedCoins() => BaseDataMgr.Instance.Cfg.props.hint.cost;
    }
}